import request from '@/utils/request'

// 查询副将预设列表
export function listEntouragePresets(query) {
  return request({
    url: '/system/EntouragePresets/list',
    method: 'get',
    params: query
  })
}

// 查询副将预设详细
export function getEntouragePresets(id) {
  return request({
    url: '/system/EntouragePresets/' + id,
    method: 'get'
  })
}

// 新增副将预设
export function addEntouragePresets(data) {
  return request({
    url: '/system/EntouragePresets',
    method: 'post',
    data: data
  })
}

// 修改副将预设
export function updateEntouragePresets(data) {
  return request({
    url: '/system/EntouragePresets',
    method: 'put',
    data: data
  })
}

// 删除副将预设
export function delEntouragePresets(id) {
  return request({
    url: '/system/EntouragePresets/' + id,
    method: 'delete'
  })
}
